<!--数据列表-->
<div class="data-table">
    <table class="">
        <thead>
        <tr>
            <th class="row-selected row-selected"><input class="check-all" type="checkbox"/></th>
            <volist name='titleArr' id='vo'>
                <th class="">
                    <a class="table_title" name="{$field[$i-1]}" href="javascript:;" onclick="order(this)">
                        {$vo}
                        <span>
                            <if condition="$field[$i-1] eq $_GET['order']">
                                ↑
                                <elseif condition="$field[$i-1].' desc' eq $_GET['order']" />
                                ↓
                            </if>
                        </span>
                    </a>
                </th>
            </volist>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <volist name="rows" id="vo" key="n">
            <tr>
                <td><input class="ids" type="checkbox" name="id[]" value="{$vo.pk_id}" /></td>
                <volist name="field" id='vos'>
                    <if condition="$i eq 1">
                        <td>{$n}</td>
                        <else/>
                        <td>{$vo[$vos]}</td>
                    </if>
                </volist>
                <td>
                    <if condition="in_array('edit',$access)"><a href="{$CURRENT_CONTROLLER}/edit?id={$vo.pk_id}">编辑 </a></if>
                    <if condition="in_array('del',$access)"><a href="{$CURRENT_CONTROLLER}/del?id={$vo.pk_id}" class="confirm ajax-get">删除 </a></if>
                </td>
            </tr>
        </volist>
        </tbody>
    </table>
</div>
<!--/数据列表-->